#ifndef QSAMPLEWIDGET_H
#define QSAMPLEWIDGET_H

#include <QObject>
#include "qhswidget.h"

class QSampleHSWidget : public QObject
{
    Q_OBJECT
public:
    explicit QSampleHSWidget(QObject *parent = 0);
    void RegisterWidget();
    void PublishWidget();
    void RemoveWidget();
private:
    void ChangeWidgetValues();
signals:
    void BringMeToForeground();
public slots:
    void handleEvent(QHSWidget*, QHSEvent aEvent );
    void handleItemEvent(QHSWidget*, QString aTemplateItemName,
                         QHSItemEvent aEvent);
private:
    QHSWidget* widget;
    int counter;
};

#endif // QSAMPLEWIDGET_H
